package newConvert;

import java.io.File;

import javax.swing.filechooser.*;

public class TxtFilter extends FileFilter {
        
        private FileNameExtensionFilter filter;
        
        public TxtFilter() { this.filter = new FileNameExtensionFilter("Text and XML files", "txt", "xml"); }

        public boolean accept(File f) { return filter.accept(f); }

        public String getDescription() { return filter.getDescription(); }
}
